package com.atguigu.day11.m2;

public class Test10 {
	public static void main(String[] args) {
		Father f = new Father();

		Son s = new Son();

		System.out.println(f.getInfo());// at
		System.out.println(s.getInfo());// 尚
		s.test();// 尚   at
		System.out.println("-----------------");
		s.setInfo("大硅谷");
		System.out.println(f.getInfo());//  at
		System.out.println(s.getInfo());// 大
		s.test();// 大 at
	}
}